home *** CD-ROM | disk | FTP | other *** search
- Option Explicit
- Global OnTop As Integer
-
- ' Function Declarations
- Declare Sub SetWindowPos Lib "User" (ByVal Wnd%, ByVal WndInsertAfter%, ByVal X%, ByVal Y%, ByVal cx%, ByVal cy%, ByVal Flags%)
- Declare Function ExitWindows Lib "User" (ByVal Reserved&, ByVal ReturnCode%) As Integer
- Declare Function GetProfileInt Lib "Kernel" (ByVal ApplicationName$, ByVal KeyName$, ByVal Default%) As Integer
- Declare Function WriteProfileString Lib "Kernel" (ByVal ApplicationName$, ByVal KeyName$, ByVal AStr$) As Integer
- Declare Function GetSystemMenu Lib "User" (ByVal hWnd%, ByVal bRevert%) As Integer
- Declare Function RemoveMenu Lib "User" (ByVal hWnd%, ByVal nPosition%, ByVal Flags%) As Integer
- Declare Function WinHelp Lib "User" (ByVal hWnd%, ByVal lpHelpFile$, ByVal wCommand%, dwData As Any) As Integer
-
- ' Constants
- Global Const EW_REBOOTSYSTEM = &H43, EW_RESTARTWINDOWS = &H42
- Global Const HWND_TOPMOST = -1, HWND_NOTOPMOST = -2
- Global Const MF_BYPOSITION = &H400
- Global Const HELP_CONTEXT = &H1
- Global Const APP_EXITWIN = "Exit Win", KEY_ONTOP = "OnTop"
- Global Const CHAR_RETURN = 13
- Global Const MOUSE_HOURGLASS = 11
- Global Const IDYES = 6, MB_QUESTIONYESNO = 36
- Global Const EXITWIN_HEIGHT = 330, EXITWIN_WIDTH = 485
- Global Const WS_NORMAL = 0
-
-
-